<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<script type="text/javascript">
			window._AMapSecurityConfig = {
				securityJsCode: "a8fa9730f03880a15f1b212f68394aa8",
			};
		</script>
		<script src="https://webapi.amap.com/loader.js"></script>
		<script type="text/javascript">
			AMapLoader.load({
				key: "c43940ecac707bf75c64997740c68c4f", // 申请好的Web端开发者Key，首次调用 load 时必填
				version: "2.0", // 指定要加载的 JSAPI 的版本，缺省时默认为 1.4.15
			})
				.then((AMap) => {
					const map = new AMap.Map("container", {
						zoom: 11, //级别
						center: [104.05843, 30.53565], //中心点坐标
					});
				})
				.catch((e) => {
					console.error(e); //加载错误提示
				});
		</script>
	</head>
	<body class="sports_run">
		<!-- 主体 -->
		<main class="main">
			<!-- 导航栏 -->
			<nav class="navbar"></nav>
			<!-- 中间文字 -->
			<div class="run-text">
				<p class="title">目前累计骑行距离:</p>
				<p><span id="num">999.99</span>公里</p>
			</div>
			<!-- 地图区 -->
			<div id="container"></div>
			<div id="go">GO</div>
			<div id="mask1"><span id="count">3</span></div>
		</main>
		<!-- 底部导航 tabbar -->
		<nav class="tabbar"></nav>
	</body>
</html>
